package com.example.shopping.service;

import java.util.List;

/**
 * @description: TODO
 * @author: uu
 * @data: 2023/6/29 19:26
 * @version: v1.0
 */
public interface Carts {

    Boolean updateCarts(com.example.shopping.pojo.Carts carts);
    Boolean findById(Integer id1, Integer id2);

    /**
     * @Description: 添加到购物车
     * @auther: uu
     * @date: 2023/6/29 19:26
     */
    Boolean addCarts(com.example.shopping.pojo.Carts carts);
    
    /**
     * @Description: 查看购物车
     * @auther: uu
     * @date: 2023/6/29 19:38
     */
    List<com.example.shopping.pojo.Carts> findAll();
}
